How to solve first order differential equations